std::array::swap

From Cppreference

Jump to: navigation, search
void swap( array& other );
(C++0x feature)

Exchanges the contents of the container with those of other. Does not cause iterators and references to associate with the other container.

Contents

Parameters

other - container to exchange the contents with

Return value

(none)

Complexity

constant

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages